unit FormHelp;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls,shellapi ;

type
  TForm2 = class(TForm)
    lbl1: TLabel;
    mmo1: TMemo;
    procedure lbl1MouseMove(Sender: TObject; Shift: TShiftState; X,
      Y: Integer);
    procedure lbl1MouseLeave(Sender: TObject);
    procedure lbl1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form2: TForm2;

implementation

{$R *.dfm}

procedure TForm2.lbl1MouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  lbl1.Font.Color:=clRed;
end;

procedure TForm2.lbl1MouseLeave(Sender: TObject);
begin
  lbl1.font.Color:=clBlue;
end;

procedure TForm2.lbl1Click(Sender: TObject);
begin
  shellexecute(handle,nil,pchar( 'http://www.robinxiang.net'),nil,nil,sw_shownormal);
end;

end.
